<extend name="../layout" />

<block name="main_content">
    <div class="row-fluid">
        <div class="span2">
            <div class="widget-box">
                <div class="widget-title"> <span class="icon"><i class="icon-th"></i></span>
                    <h5>{:L('stock')}</h5>
                </div>
                <div class="widget-content nopadding">
                    <table class="table table-bordered table-striped with-check">
                        <tbody>
                            <volist name="stocks" id="sk">
                                <tr>
                                    <th>{$sk.id}</th>
                                    <td><a href="{:U('/JXC/Stock/warning/stock_id/'.$sk[id])}">{$sk.name}</a></td>
                                </tr>
                            </volist>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <div class="span10">
            <div class="widget-box">
                <div class="widget-title"> <span class="icon"><i class="icon-th"></i></span>
                    <h5>{$theStock.name} - {:L('stock_warning')}</h5>
                </div>
                <div class="widget-content nopadding">
                    <html:list datasource="list" 
                        style="table table-bordered table-striped with-check" 
                        sort="true" 
                        show="id:id,name:goods_name,factory_code_all:factory_code_all,color_name:color_name,standard_name:standard_name,store_min:store_min,store_num:store_num" 
                        action="false" 
                        actionlist="viewDetail" 
                        name="vo" 
                        />
                </div>
            </div>
        </div>
    </div>
</block>